vTPM/TPM2: Create and load SK on TPM 2.0
authorQuan Xu <quan.xu@intel.com>
Thu, 15 Jan 2015 09:21:45 +0000 (04:21 -0500)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 28 Jan 2015 12:54:49 +0000 (12:54 +0000)
commit3334d916dea80ace09829d129753b20b85a41b65
treec008678f774d780d5654d612b4c39bd65446b994
parentb80507775dce91d506ac4620975976e0fdcefaf6
vTPM/TPM2: Create and load SK on TPM 2.0

TPM2_Create is used to create an object that can be loaded into a
TPM using TPM2_Load(). If the command completes successfully, the
TPM will create the new object and return the object’s creation.
data (creationData), its public area (outPublic), and its encrypted
sensitive area (outPrivate). Preservation of the returned data is
the responsibility of the caller. The object will need to be loaded
(TPM2_Load()).
TPM2_Load is used to load objects into the TPM. This command is used
when both a TPM2B_PUBLIC and TPM2B_PRIVATE are to be loaded. If only
a TPM2B_PUBLIC is to be loaded, the TPM2_LoadExternal command is used.

Signed-off-by: Quan Xu <quan.xu@intel.com>
Acked-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
stubdom/vtpmmgr/init.c
stubdom/vtpmmgr/vtpmmgr.h